/**
 * FileName: IPurchaseRcdDao
 * Author:   Molzx
 * Date:     2019/10/5 17:06
 * Description: 采购申请审批记录Dao
 */
package com.dgut.dao;

import com.dgut.domain.PurchaseRecord;

import java.util.List;

/**
 * 〈采购申请审批记录Dao〉
 */
public interface IPurchaseRcdDao {

    //查询所有记录所有字段
    List<PurchaseRecord> findAll();

    //分页、可带条件查询 查询所有记录所有字段
    List<PurchaseRecord> findAllLimit(PurchaseRecord purchaseRecord);

    //查询记录总数
    Integer findAllCount(PurchaseRecord purchaseRecord);

    //通过申请单id 查询对应记录，无分页
    List<PurchaseRecord> findById(String id);

    //保存插入记录信息
    Integer savePurchaseRecord(PurchaseRecord purchaseRecord);

    //根据id删除记录
    Integer deletePurchaseRecord(String id);
}
